In NT, device driver is a “sys” file. I can use CreateFile to create a
handle to map a lower device driver. In CE, the device driver is a “dll”
file. I tried the CreateFile but failed.
I can not find any helpful document in MSDN. How can I communicate with a
device driver in program? Please give me some hints.
Thanks.
Zhe
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDISUIO]
"Prefix"="UIO"
"Dll"="ndisuio.dll"
"Index"=dword:1
"Order"=dword:3
These settings cause NDISUIO to load and register as "UIO1:". So, an
application should then succeed if it does a CreateFile and specifies the
filename as "UIO1:". Since your CreateFile is failing, I would recommend
that you check:
1. That the registry settings are present,
2. That NDISUIO is loading and initializing successfully (it will be
registered as an NDIS protocol driver if it was successful), and
3. That the application calling CreateFile is specifying the correct
filename.
--
Jeff Kelley
Windows CE Networking
This posting is provided "AS IS" with no warranties, and confers no rights.
"Zhe Xiang" <msnews.microsoft.com> wrote in message
news:#99UnJArCHA.436@TK2MSFTNGP12...